package cn.iotab.iotkit.transport.api.common.message.msg.rpc;

import cn.iotab.iotkit.transport.api.common.message.TransportMsg;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AuthResponseMsg implements TransportMsg {
    private boolean success;
    // X509 auth需要
    private String credentials;

    /**
     * 认证成功时需要知道productKey与deviceId
     */
    private String productKey;
    private String deviceId;

}
